Simple abstract implementation of TxnSearch that allows for simple definition of a TxnSearch using a single (lambda-able) method